package demo3;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: atp
 * Date: 2022-10-30
 * Time: 16:31
 */
interface ITest {
    //public static final
    public static final int a = 10;
    //public abstract
    public abstract void draw();

    default public void func() {
        System.out.println("默认方法");
    }
    public static void func2() {
        System.out.println(666);
    }
}
class A implements ITest {
    @Override
    public void draw() {
        System.out.println(6);
    }

    @Override
    public void func() {
        ITest.super.func();
    }
}

public class Test3 {
    public static void main1(String[] args) {

    }
}
